// Benke PDF.

// while. input 'abcdef', and test.

#include <stdio.h>

// while.
/* int main()
{
    int ch;
    while ((ch = getchar()) == 'e')
        printf("*\n");
    return 0;
} */

// another while.
/* int main()
{
    int ch;
    while ((ch = getchar()) != 'e')
        printf("*\n");
    return 0;
} */

// another while.
/* int main()
{
    int ch;
    while ((ch = getchar()) != EOF)
        if (ch == 'e')
            printf("*\n");
    return 0;
} */

//do while.
int main()
{
    int ch;
    do
    {
        printf("*\n");
    } while ((ch = getchar()) == 'e');

    return 0;
}